package com.wn.system.api;

import com.wn.sddfp.common.model.dto.user.UserInfoVo;
import com.wn.sddfp.common.model.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yellow Docter
 * @date 2024-08-06
 * @desc 蜗牛创想：www.woniuxy.com
 */
@FeignClient(value = "sddfp-system-service",path = "/user")
public interface UserApi {

    @GetMapping("/inner/findById/{userId}")
    public Result<UserInfoVo> findUserById(@PathVariable("userId")Long userId);

}
